

package com.jc.platform.contractzwl.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jc.platform.contractzwl.entity.SalesContractEntity;
import org.apache.ibatis.annotations.*;
import org.mapstruct.MappingTarget;

/**
 * ClassName SalesContractMapper.java
 * Description 销售合同
 *
 * @author zwl
 * @version 9.0
 * @date 2021/08/07
 */
@Mapper
public interface ISalesContractMapper extends BaseMapper<SalesContractEntity>
{


    int getCountByParther(Long partherId);

    int addParther(@Param("contractId")Long contractId,@Param("partherId")Long partherId);

    int removeParther(@Param("contractId")Long contractId,@Param("partherId")Long[] partherId);

    int removeAllParther(Long contractId);



}




